//
//  Man.m
//  OC07_ARC代码编写
//
//  Created by Hanlingyu on 16/7/12.
//  Copyright © 2016年 ltq. All rights reserved.
//

#import "Man.h"

@implementation Man

// ARC下缺少了if判断
- (void)setObjc:(NSObject *)objc {
    _objc = objc;
}
- (void)setString:(NSString *)string {
    _string = [string copy];
}
- (void)setCount:(NSInteger)count {
    _count = count;
}
- (void)setDelegate:(id<NSObject>)delegate {
    _delegate = delegate;
}

// ARC下可以写dealloc
- (void)dealloc {
// 不能写 [super delloc];
    
}
@end
